<?php $this->need('header.php'); ?>
<!-- 正文 -->
<article id="content">  
  <?php while($this->next()):?>
    <section id="post" class="post section">
      <h2 class="title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
      <div class="meta">
        <span class="meta-time"><?php $this->date('Y-m-d H:i:s')?></span><span class="meta-cat"><?php $this->category(); ?></span><span class="meta-comm"><a href="<?php $this->permalink() ?>#comments" class="CommentsNumber"><?php $this->commentsNum('抢沙发', '1条评论', '%d条评论'); ?></a></span>
      </div>
      <div class="entry">
        <p><?php $this->content('阅读全文'); ?></p>
      </div>
      <div class="meta-tag"><?php _e('标签：'); ?><?php $this->tags(); ?></div>
    </section>        
  <?php endwhile;?>
</article>
<?php $this->need('comments.php'); ?>
<?php $this->need('sidebar.php'); ?>
<?php $this->need('footer.php'); ?>